/*样式初始化
=======================================*/
html,
body {
    font-family: "Hiragino Sans GB", "Microsoft YaHei", STHeiti, "WenQuanYi Micro Hei", Helvetica, Arial, sans-serif;
    color: rgba(0, 0, 0, .8);
    /*overflow-y: scroll;*/
    line-height: 1.8;
    font-size: 20px;
    height: 100%;
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ol,
ul {
    list-style: none;
}

/*导航部分
=================================================*/
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    color: white;
}

.container-fluid {
    padding: 15px;
}

.archives-link {
    float: right;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .navbar {
        background-color: #f8f8f8;
        color: grey;
    }

    .container-fluid {
        padding: 8px;
    }
}

/*header部分
========================================================*/
.intro-header {
    background-color: #808080;
    background: no-repeat center center;
    background-image: url(../img/home-bg.jpg);
    background-size: cover;
    margin-bottom: 50px;
}

.user-name {
    text-align: center;
    font-size: 2.75rem;
    margin: 0;
}

hr.small {
    max-width: 100px;
    margin: 15px auto;
}

.site-heading {
    padding: 140px 0;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .site-heading {
        padding: 90px 0 40px;
    }

    .user-name {
        font-size: 1.75rem;
    }

}

/*主内容区域
===================================*/
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

.post-preview > a > .post-title {
    font-size: 22px;
    margin-top: 22px;
    margin-bottom: 10px;
    font-weight: normal;
}

@media only screen and (min-width: 768px) {
    .post-preview > a > .post-title {
        font-size: 36px;
    }
}


.pager {
    padding-left: 0;
    margin: 20px 0;
    padding-right: 5px;
    text-align: center;
    list-style: none;
    cursor:pointer;
    
}

#next {
    display: inline-block;
    text-align: center;
    color:#2DCB70 ;
}

.next:hover {
   color:#333 ;
}
/*右侧缩小图标*/
.mobile-inner-header-icon {
    display: none;
    height: 35px;
    font-size: 25px;
    text-align: center;
    float: right;
    width: 38px;
    position: relative;
    margin-right: 15px;
    border: 0.5px solid #cccccc;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
    border-radius: 5px;
}

/*图标鼠标悬浮状态*/
.mobile-inner-header-icon:hover {
    cursor: pointer;
    background-color: #eeeeee;
}

/*图标内横线*/
.mobile-inner-header-icon span {
    background-color: #cccccc;
    position: absolute;
    left: calc((100% - 25px) / 2);
    top: calc((100% - 1px) / 2);
    width: 25px;
    height: 3px;
}

/*图标内上横线*/
.mobile-inner-header-icon span:nth-child(1) {
    transform: translateY(4px) rotate(0deg);
}

/*图标内下横线*/
.mobile-inner-header-icon span:nth-child(2) {
    transform: translateY(-4px) rotate(0deg);
}

/*鼠标第一次点击后第一条横线变化*/
.mobile-inner-header-icon-click span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clickfirst;
}

/*鼠标第一次点击后第二条横线变化*/
.mobile-inner-header-icon-click span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clicksecond;
}

/*第二次点击后第一条横线*/
.mobile-inner-header-icon-out span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outfirst;
}

/*第二次点击后第二条横线*/
.mobile-inner-header-icon-out span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outsecond;
}

/*下拉菜单*/
.mobile-inner-nav {
    width: 100%;
    padding-top: 25px;
    padding-bottom: 30px;
    display: none;
    background-color: rgba(31, 31, 31, 0.61);
}

/*下拉菜单链接*/
.mobile-inner-nav a {
    display: inline-block;
    line-height: 50px;
    text-decoration: none;
    width: 80%;
    margin-left: 10%;
    color: #f8f8f8;
    border-bottom: solid 1px rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    font-weight: 300;
}

/*鼠标悬浮下拉菜单*/
.mobile-inner-nav a:hover {
    color: rgba(255, 255, 255, 0.4);
    border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}

/*为下拉菜单设置动画*/
.mobile-inner-nav a {
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
}

/*动画函数*/
@keyframes clickfirst {
    0% {
        transform: translateY(4px) rotate(0deg);

    }

    100% {
        transform: translateY(0) rotate(45deg);
    }
}

@keyframes clicksecond {
    0% {
        transform: translateY(-4px) rotate(0deg);
    }

    100% {
        transform: translateY(0) rotate(-45deg);
    }
}

@keyframes outfirst {
    0% {
        transform: translateY(0) rotate(-45deg);
    }

    100% {
        transform: translateY(-4px) rotate(0deg);
    }
}

@keyframes outsecond {
    0% {
        transform: translateY(0) rotate(45deg);
    }

    100% {
        transform: translateY(4px) rotate(0deg);
    }
}

@-webkit-keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        -webkit-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
    }

    to {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        -webkit-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
    }

    to {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@media (max-width: 768px) {

    .navbar {
        position: fixed;
        top: 0;
    }

    .toggle-hide {
        display: block;
    }

    .archives-link {
        display: none;
    }
}

.editormd-html-preview {
    width: inherit;
}



